#ifndef ENGINE_H
#define ENGINE_H

#include "Wheel.hpp"

class Engine
{
public:
	enum State
	{
		FORWARD,
		BACKWARD,
		LEFT,
		RIGHT,
		STOP
	};

	Engine();

	void driveForward();
	void driveBackward();
	void turnLeft();
	void turnRight();
	void stop();
	State getState();
	void setState(State newState);
private:
	Wheel leftWheel, rightWheel;
	State currentState;
};
#endif
